#include <stdio.h>
int larger_of(const int [], size_t);

int main(void)
{
	int arr[]={1, 5, 7, 4, 13 ,21, 52, 18};
	
	printf("The larger one is %d\n",larger_of(arr,sizeof(arr)/sizeof(arr[0])));
	
	return 0;
}
int larger_of(const int arr[], size_t size)
{
	unsigned int i;
	int temp=0;
//	printf("%zd\n",sizeof(arr)/sizeof(arr[0]));
	printf("%zd\n",sizeof(arr));
	for(i=0; i<size; i++){
		if(arr[i]>=temp)
			temp = arr[i];
	}
	
	return temp;
}
